var BASEAJAX = {
	dataType : 'json',
}
var BASEPUTAJAX = {
	traditional : true,	
	dataType : 'json',
	type : "POST",
	data : {
		_method : "PUT"
	}

};
var BASEDELETEAJAX = {
	dataType : 'json',
	type : "POST",
	traditional : true,
	data : {
		_method : "DELETE"
	}
}
var BASEPOSTAJAX = {
	traditional : true,
	dataType : 'json',
	data : {},
	type : "POST"
}
var BASEGETAJAX = {
	traditional : true,	
	dataType : 'json',
	data : {},
	type : "GET"
}

//testAJAX();

function getBASEPUTAJAX(){
	var newObject = $.extend(true, {}, BASEPUTAJAX);
	return newObject;
}

function getBASEDELETEAJAX(){
	var newObject = $.extend(true, {}, BASEDELETEAJAX);
	return newObject;
}

function getBASEPOSTAJAX(){
	var newObject = $.extend(true, {}, BASEPOSTAJAX);
	return newObject;
}

function getBASEGETAJAX(){
	var newObject = $.extend(true, {}, BASEGETAJAX);
	return newObject;
}



/*function testAJAX() {
	var a = getBASEGETAJAX();
	console.log(a.type);
	a.type = "POST";
	console.log(a.type);	
	var b = getBASEGETAJAX();
	console.log(b.type);
}*/
